﻿//
(function() {

// insert your plugin name here
// eg : var mypluginname = 'image';

var mypluginname = 'hud';

$(window).data('gui').plugins[mypluginname] =
{
	makeHTML : function(param)
	{
		var hud = $('div[datat-type="hud"]');
		if (hud.length > 0) return null;
		var obj = document.createElement("div"); // don't erase
		param.parent.appendChild(obj);
		guiTareNameSpace.executeChildrensPlugin(param.xml,obj);
		return obj;
	},

	makeXML : function(xml)
	{
		var element = xml.ownerDocument.createElement(mypluginname); // don't erase
		return element; // don't erase
		// return null if error
	}
}
})();